package cn.mastor.basic.util;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

public class EncryptionUtil {
    public static String encryption(String pwd,String salt) {
        // 2.通过这个盐值加密
        String md5Pwd = MD5Utils.encrypByMd5(pwd + salt );
        return md5Pwd;
    }
}
